	<div id="newsnav_wrapper">
		<ul class="newsnav ucase">
			<li class="active"><a href="{$URL_submit_groups}"><span>{#PLIGG_Visual_Submit_A_New_Group#}</span></a></li>
			<li><a href="{$URL_groups}"><span>Browse {#PLIGG_Visual_Groups#}</span></a></li>			
		</ul>
	</div>
	<div class="box group_submit">
	{if $enable_group eq "true" && $group_allow eq 1}
		{if $error}<div class="msg_error">{$error}</div>{/if}
		<form action="{$URL_submit_groups}" method="post" name="thisform" id="thisform" enctype="multipart/form-data">
			{$hidden_token_submit_group}
			<div class="divset">
				<h2><label for="group_title">{#PLIGG_Visual_Submit_Group_Title#}</label></h2>
				<div class="content">
					<input type="text" id="group_title" name="group_title" value="{$templatelite.post.group_title}" size="65" maxlength="120" />
					<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_TitleInstruction#}</span>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>
			
			<div class="divset">
				<h2><label for="group_description">{#PLIGG_Visual_Submit_Group_Description#}</label></h2>
				<div class="content">
					<textarea name="group_description" id="group_description" rows="7" cols="50">{$templatelite.post.group_description}</textarea>
					<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_DescriptionInstruction#}</span>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>
			
			<div class="divset">
				<h2><label for="group_privacy">{#PLIGG_Visual_Submit_Group_Privacy#}</label></h2>
				<div class="content">
					<select id="group_privacy" name="group_privacy" onchange="document.getElementById('group_email').style.display=this.selectedIndex==0 ? 'none' : 'block';">
						<option value="public"{if $templatelite.post.group_privacy=='public'} selected="selected"{/if}>{#PLIGG_Visual_Submit_Group_Public#}</option>
						<option value="private"{if $templatelite.post.group_privacy=='private'} selected="selected"{/if}>{#PLIGG_Visual_Submit_Group_Private#}</option>
						<option value = "restricted" {if $templatelite.post.group_privacy=='restricted'} selected="selected"{/if}>{#PLIGG_Visual_Submit_Group_Restricted#}</option>
					</select>
					<div id="group_email"{if $templatelite.post.group_privacy=='public' || $templatelite.post.group_privacy==''} style="display:none;"{/if}>
						<input type="checkbox" id="group_notify_email" name="group_notify_email" value="1"{if $templatelite.post.group_notify_email}checked="checked"{/if} /><label for="group_notify_email" class="small_font">{#PLIGG_Visual_Submit_Group_Notify#}</label>
					</div>
					<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_PrivacyInstruction#}</span>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>
			
			<div class="divset">
				<h2><label for="group_mailer" class="propercase">{#PLIGG_Visual_Submit_Group_Mail_Friends#}</label></h2>
				<div class="content">
					<textarea id="group_mailer" rows="3" cols="60" name="group_mailer">{$templatelite.post.group_mailer}</textarea>
					<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_Mail_Friends_Desc#}</span>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>
			
			<div class="divset">
				<h2><label for="group_vote_to_publish">{#PLIGG_Visual_Submit_Group_vote_to_publish#}</label></h2>
				<div class="content">
					<input type="text" id="group_vote_to_publish" size="4" name="group_vote_to_publish" value="{$templatelite.post.group_vote_to_publish}" />
					<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_NoOfVoteInstruction#}</span>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>													
			<input type="submit" value="{#PLIGG_Visual_Submit_Group_create#}" class="submit_button" />
		</form>
	{else}
		{#PLIGG_Visual_Group_Disabled#}
	{/if}
	</div>